package com.itheima.service;

import com.itheima.pojo.dto.IntegralDTO;
import com.itheima.pojo.dto.LoginDTO;
import com.itheima.pojo.Student;
import com.itheima.pojo.User;

import java.util.List;

public interface UserService {

    User findUserByMobile(String mobile);

    User login(LoginDTO loginDTO);

    List<Student> findAll();

    boolean addIntegral(IntegralDTO integralDTO);

    boolean updateGroupsIntegralByClassId(Integer classId);
}
